package com.winit.openapi.chinapost.constants;

public final class ActionEventType {

	/**
	 * 国际干线已交接
	   Receive the goods successfully from warehouse
	 */
	public static String CAI_GOT = "CAI_GOT";
	
	/**
	 * 出口清关/封发反馈
       Customs clearance in China
	 */
	public static String CAI_CUSTOMS_CLR_CN = "CAI_CUSTOMS_CLR_CN";

	/**
	 * 交航安检/邮政收寄
       Aviation security success or pick up successfully by postal
	 */
	public static String CAI_AIR_DELIVERY = "CAI_AIR_DELIVERY";
	
	/**
	 * 交航安检异常/邮政收寄异常
       Aviation security failed or pick up failed by postal
	 */
	public static String CAI_AIR_DELIVERY_FAIL = "CAI_AIR_DELIVERY_FAIL";
	
	/**
	 * 配送已交接
       Handover the goods by dispatch logistics company
	 */
	public static String CAI_TMS_SIGN = "CAI_TMS_SIGN";
	
	/**
	 * 目的国清关/进入目的国交换局
       Customs clearance in the destination country for express/enter the exchange office of the destination country for the postal
	 */
	public static String CAI_CUSTOMS_CLR = "CAI_CUSTOMS_CLR";
	
	/**
	 * 完成目的国清关/出目的国交换局
       Customs clearance success in the destination country/out of the exchange office of the destination country for the postal
	 */
	public static String CAI_CUSTOMS_CLR_SUC = "CAI_CUSTOMS_CLR_SUC";
	
	/**
	 * 目的国清关异常
       Customs clearance failed in the destination country
	 */
	public static String CAI_CUSTOMS_CLR_FAIL = "CAI_CUSTOMS_CLR_FAIL";
	
	/**
	 * 妥投
       Buyer sign in successfully
	 */
	public static String CAI_SIGN_IN = "CAI_SIGN_IN";
	
	/**
	 * 未妥投
       Buyer sign in failed
	 */
	public static String CAI_SIGN_IN_FAIL = "CAI_SIGN_IN_FAIL";
	
	public enum ChinaPostOrderStatus
	{
		CAI_GOT("CAI_GOT", "国际干线已交接"),
		CAI_CUSTOMS_CLR_CN("CAI_CUSTOMS_CLR_CN", "出口清关/封发反馈"),
		CAI_AIR_DELIVERY("CAI_AIR_DELIVERY", "交航安检/邮政收寄"),
		CAI_AIR_DELIVERY_FAIL("CAI_AIR_DELIVERY_FAIL", "交航安检异常/邮政收寄异常"),
		CAI_TMS_SIGN("CAI_TMS_SIGN", "配送已交接"),
		CAI_CUSTOMS_CLR("CAI_CUSTOMS_CLR", "目的国清关/进入目的国交换局"),
		CAI_CUSTOMS_CLR_SUC("CAI_CUSTOMS_CLR_SUC", "完成目的国清关/出目的国交换局"),
		CAI_CUSTOMS_CLR_FAIL("CAI_CUSTOMS_CLR_FAIL", "目的国清关异常"),
		CAI_SIGN_IN("CAI_SIGN_IN", "妥投"),
		CAI_SIGN_IN_FAIL("CAI_SIGN_IN_FAIL", "未妥投");
		
		private String status;
        private String desc;
        
        ChinaPostOrderStatus(String status, String desc){
            this.status = status;
            this.desc = desc;
        }
        
		public String getStatus() {
			return status;
		}
		public void setStatus(String status) {
			this.status = status;
		}
		public String getDesc() {
			return desc;
		}
		public void setDesc(String desc) {
			this.desc = desc;
		}
        
        
	}
}
